# $var = 42
$var = 10

if ($var -gt 25) {
    Write-Host "$var is greater than 25"
} else {
    Write-Host "$var is not greater than 25"
}

$x = 3

switch ($x) {
    1 { Write-Host "x is 1" }
    2 { Write-Host "x is 2" }
    3 { Write-Host "x is 3" }
    4 { Write-Host "x is 4" }
    5 { Write-Host "x is 5" }
    6 { Write-Host "x is 6" }
    7 { Write-Host "x is 7" }
    default { Write-Host "x is something else" }
}

# $y = 3
# $y = 100
$y = -4

switch ($y) {
    1 { Write-Host "y is 1" }
    2 { Write-Host "y is 2" }
    3 { Write-Host "y is 3"; break }
    4 { Write-Host "y is 4" }

    {$_ -ge 3} { Write-Host "y is greater or equal than 3" }

    5 { Write-Host "y is 5" }
    default { Write-Host "y is something else" }

}


